package kr.co.doriclassic.pro11;

public class SmartPhone extends Phone {
	private String osType;
	private String osVersion;
	private String memory;
	private boolean isCamera;
	private boolean isBluetooth;
	public SmartPhone(String company, int price, String type, String osType,
			String osVersion, String memory, boolean isCamera,
			boolean isBluetooth) {
		super(company, price, type);
		this.osType = osType;
		this.osVersion = osVersion;
		this.memory = memory;
		this.isCamera = isCamera;
		this.isBluetooth = isBluetooth;
	}
	public String getOsType() {
		return osType;
	}
	public void setOsType(String osType) {
		this.osType = osType;
	}
	public String getOsVersion() {
		return osVersion;
	}
	public void setOsVersion(String osVersion) {
		this.osVersion = osVersion;
	}
	public String getMemory() {
		return memory;
	}
	public void setMemory(String memory) {
		this.memory = memory;
	}
	public boolean isCamera() {
		return isCamera;
	}
	public void setCamera(boolean isCamera) {
		this.isCamera = isCamera;
	}
	public boolean isBluetooth() {
		return isBluetooth;
	}
	public void setBluetooth(boolean isBluetooth) {
		this.isBluetooth = isBluetooth;
	}
	@Override
	public String toString() {
		return "SmartPhone [company=" + company + ", price=" + price
				+ ", cType=" + cType + ", getOsType()=" + getOsType()
				+ ", getOsVersion()=" + getOsVersion() + ", getMemory()="
				+ getMemory() + ", isCamera()=" + isCamera()
				+ ", isBluetooth()=" + isBluetooth() + "]";
	}	
}
